package com.ygqh.baby.po;

import com.ygqh.baby.ao.DataStatus;

import java.math.BigDecimal;

public class YgProductSecondDetail {
    private Long id;

    private Long productSecondId;

    private Long productId;

    private BigDecimal secondPrice;

    private BigDecimal originalSalePrice;

    private BigDecimal originalVipPrice;

    private DataStatus status;

    /*---------------------------*/
    private String productName;
    
    public YgProductSecondDetail() {
	}

    public YgProductSecondDetail(Long productSecondId, Long productId, BigDecimal secondPrice, BigDecimal originalSalePrice, BigDecimal originalVipPrice) {
		super();
		this.productSecondId = productSecondId;
		this.productId = productId;
		this.secondPrice = secondPrice == null ? originalSalePrice : secondPrice;
		this.originalSalePrice = originalSalePrice;
		this.originalVipPrice = originalVipPrice;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductSecondId() {
        return productSecondId;
    }

    public void setProductSecondId(Long productSecondId) {
        this.productSecondId = productSecondId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public BigDecimal getSecondPrice() {
        return secondPrice;
    }

    public void setSecondPrice(BigDecimal secondPrice) {
        this.secondPrice = secondPrice;
    }

    public DataStatus getStatus() {
        return status;
    }

    public void setStatus(DataStatus status) {
        this.status = status;
    }

	public BigDecimal getOriginalSalePrice() {
		return originalSalePrice;
	}

	public void setOriginalSalePrice(BigDecimal originalSalePrice) {
		this.originalSalePrice = originalSalePrice;
	}

	public BigDecimal getOriginalVipPrice() {
		return originalVipPrice;
	}

	public void setOriginalVipPrice(BigDecimal originalVipPrice) {
		this.originalVipPrice = originalVipPrice;
	}

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
}